import Layout from '@/page/note/'

export default [{
        path: '/index',
        name: '首页',
        component: () =>
            import(/* webpackChunkName: "page" */ '@/page/index'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/wel',
        component: Layout,
        redirect: '/wel/index',
        children: [{
            path: 'index',
            name: '笔记',
            component: () =>
                import(/* webpackChunkName: "views" */ '@/page/wel')
        }]
    },
    {
        path: '/',
        name: '主页',
        redirect: '/index'
    },
    {
        path: '/404',
        component: () => import(/* webpackChunkName: "page" */ '@/components/error-page/404'),
        name: '404',
        // meta: {
        //     keepAlive: true,
        //     isTab: false,
        //     isAuth: true
        // }

    },
    {
        path: '/500',
        component: () => import(/* webpackChunkName: "page" */ '@/components/error-page/500'),
        name: '500',
        // meta: {
        //     keepAlive: true,
        //     isTab: false,
        //     isAuth: false
        // }
    },
    {
        path: '/:pathMatch(.*)*',
        redirect: '/404'
    }]